export const addLayers = (map: any, AMap: any) => {
  const layer1 = new AMap.TileLayer.Satellite();
  const layer2 =  new AMap.TileLayer.RoadNet();
  const layers = [
    layer1,
    layer2
  ]
  // 添加到地图上
  map.add(layers);
}